﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CheckLift.Common.Intf;
using System.Data.Linq;

namespace CheckLift.Linq
{
    public partial class Lift : ILift
    {
        #region ILift Members


        ICustomer ILift.Customer
        {
            get { return (ICustomer)Customer; }
        }

        EntitySet<IReport> ILift.Reports
        {
            get 
            {
                EntitySet<IReport> entitySetRes = new EntitySet<IReport>();
                foreach (Report item in Reports)
                {
                    entitySetRes.Add((IReport)item);
                }
                return entitySetRes;                
            }
        }

        IServiceCompany ILift.ServiceCompany
        {
            get { return (IServiceCompany)ServiceCompany; }
        }

        #endregion
    }
}
